<?php /* Smarty version 2.6.26, created on 2013-04-01 07:36:27
         compiled from ../templates/order_index.html */ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>

    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>
	<script>
		$(function(){

			var target = $('search_result');
			var cont = $('#selectNum');

			var countSelected = function(){
				var size = $('.checked',search_result).size();
				cont.html(size);
			}

			$('label',search_result).click(function(){
				countSelected();
			});

			$('.ctrlSelect').click(function(){
				var select = $(this).data("d");
				var target = $('input[name=ctrl]');
				if(select == "check"){
					target.attr('checked','checked');
					target.closest("label").addClass("checked");
				} else {
					target.removeAttr('checked');
					target.closest("label").removeClass("checked");
				}
				countSelected();
			});
		});
	</script>
	<style>
		.headerCtrl li {
			font-size:14px;
			line-height: 28px;
			margin-right: 10px;
		}
		.headerCtrl li .ctrlSelect {
			color: #399CE8;
		}
	</style>
</head>
<body>

<header id="dashboard_header">
	<h1>
    	<a href="index.php">コントロールパネル</a>
    </h1>
    <ul>
		<li id="rt_site">
			<a href="javascript:;"><img src="../site_0001/images/logo.jpg" />SITEMANAGE　デモサイトA</a>
			<span><a href="../site_0001/" target="_blank">サイトを確認</a></span>
		</li>
    	<li id="rt_admin">
    		<a href="javascript:;">
    			<img src="./assets/images/common/header/blank_face.gif" />
    			おなべ
    		</a>
    	</li>
    	<li id="rt_dashboard">
    		<a href="index.php">Dash Board</a>
    	</li>
    	<li id="rt_logout">
    		<form id="form_logout" action="logout.php" method="post">
    			<input type="submit" id="button_logout" value="Logout" />
    		</form>
    	</li>
    </ul>
</header>

<div id="container">
	<aside id="accordion">
    	<div id="aside_inner">
    		<p><a href="javascript:;">→</a></p>
            <ul id="side_module_0" class="icon_site_m">
            	<li><a href="javascript:;"><span>サイト管理</span></a></li>
                <ol>
                    <li><a href="site_index.html">サイト一覧</a></li>
                    <li><a href="site_form.html">サイト登録</a></li>
                </ol>
            </ul>

            <ul id="side_module_1" class="icon_staff_m">
            	<li><a href="javascript:;"><span>スタッフ管理</span></a></li>
                <ol>
                    <li><a href="staff_index.html">スタッフ検索</a></li>
                    <li><a href="staff_form.html">スタッフ登録</a></li>
                </ol>
            </ul>

            <ul id="side_module_2" class="icon_category_m">
            	<li><a href="javascript:;"><span>カテゴリ管理</span></a></li>
                <ol>
                    <li><a href="category_index.html">カテゴリマスタ</a></li>
                </ol>
            </ul>

            <ul id="side_module_3" class="icon_sns_m">
            	<li><a href="javascript:;"><span>SNS</span></a></li>
                <ol>
                    <li><a href="sns_index.html">参照</a></li>
                    <li><a href="sns_form.html">登録</a></li>
                </ol>
            </ul>

            <ul id="side_module_4" class="icon_post_m">
            	<li><a href="javascript:;"><span>郵便番号DB</span></a></li>
                <ol>
                    <li><a href="post_setting.html">情報更新</a></li>
                </ol>
            </ul>

            <ul id="side_module_5" class="icon_item_m">
            	<li><a href="javascript:;"><span>商品管理</span></a></li>
                <ol>
                    <li><a href="item_index.html">商品検索</a></li>
                    <li><a href="item_form.html">商品登録</a></li>
                    <li><a href="item_rank.html">ランキング</a></li>
                    <li><a href="item_setting.html">基本設定</a></li>
                </ol>
            </ul>

            <ul id="side_module_6" class="icon_order_m">
            	<li><a href="javascript:;"><span>注文管理</span></a></li>
                <ol>
                    <li><a href="order_index.html">履歴検索</a></li>
                    <li><a href="order_summary.html">売上集計</a></li>
                    <li><a href="order_setting.html">基本設定</a></li>
                </ol>
            </ul>

            <ul id="side_module_7" class="icon_user_m">
            	<li><a href="javascript:;"><span>会員管理</span></a></li>
                <ol>
                    <li><a href="user_index.html">会員検索</a></li>
                    <li><a href="user_form.html">会員登録</a></li>
                </ol>
            </ul>

            <ul id="side_module_8" class="icon_contact_m">
            	<li><a href="javascript:;"><span>お問合せ管理</span></a></li>
                <ol>
                    <li><a href="inquiry_index.html">総合お問い合わせ</a></li>
                    <li><a href="inquiry_order.html">注文お問い合わせ</a></li>
                </ol>
            </ul>

            <ul id="side_module_9" class="icon_news_m">
            	<li><a href="javascript:;"><span>ニュース管理</span></a></li>
                <ol>
                    <li><a href="news_index.html">ニュース検索</a></li>
                    <li><a href="news_form.html">新規登録</a></li>
                    <li><a href="news_setting.html">基本設定</a></li>

                </ol>
            </ul>

            <ul id="side_module_10" class="icon_banner_m">
            	<li><a href="javascript:;"><span>バナー管理</span></a></li>
                <ol>
                    <li><a href="banner_index.html">スケジューラ</a></li>
                    <li><a href="banner_config.html">種別マスタ</a></li>
                </ol>
            </ul>
		</div>
    </aside>

    <article>
    	<h2><span>&nbsp;</span>注文管理<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
        	<ul>
				<li class="active"><a href="Home_order_index.html"><span>履歴検索</span></a></li>
				<li><a href="Home_order_summary.html"><span>売上集計</span></a></li>
				<li><a href="Home_order_setting.html"><span>基本設定</span></a></li>
			</ul>
        </nav>

        <section id="content">

        	<h3>注文検索</h3>

			<div id="search_form">
				<form name="" >
					<dl>
						<dt>フリーワード</dt>
						<dd>
							<input type="text" name="" value="" />
						</dd>
					</dl>
					<dl>
						<dt>状態</dt>
						<dd>
							<label><input type="checkbox" name="" value="" />未確定</label>
							<label><input type="checkbox" name="" value="" />確定</label>
							<label><input type="checkbox" name="" value="" />発想済</label>
							<label><input type="checkbox" name="" value="" />キャンセル</label>
						</dd>
					</dl>
					<dl>
						<dt>注文期間</dt>
						<dd>
							<input type="text" name="" class="text_date" value="" /> ～
							<input type="text" name="" class="text_date" value="" />
						</dd>
					</dl>
					<dl>
						<dt>経路</dt>
						<dd>
							<label><input type="checkbox" name="" value="" />PC</label>
							<label><input type="checkbox" name="" value="" />スマホ</label>
						</dd>
					</dl>
					<dl>
						<dt>支払方法</dt>
						<dd>
							<label><input type="checkbox" name="" value="" />クレジットカード</label>
							<label><input type="checkbox" name="" value="" />代引き</label>
						</dd>
					</dl>
					<dl>
						<dt>発送方法</dt>
						<dd>
							<label><input type="checkbox" name="" value="" />郵便</label>
							<label><input type="checkbox" name="" value="" />ゆうパック</label>
						</dd>
					</dl>
					<dl class="category clear">
						<dt>カテゴリー</dt>
						<dd>
							<p class="btn_blank float-left btn_category" id="id_category">
								<a href="javascript:;">カテゴリ選択</a>
							</p>
							<ul id="search_category" class="float-left">
							</ul>
						</dd>
					</dl>
					<p class="search_submit">
						<button type="submit" class="submit"><span>検索</span></button>
					</p>
					<input type="hidden" name="" value="" />
				</form>
			</div>

			<p class="message">n件登録されています。</p>


			<ul class="btns float-right headerCtrl">
				<li>表示件数:</li>
				<li>
					<select name="" id="">
						<option>50件</option>
					</select>
				</li>
			</ul>
			<ul class="btns b10 headerCtrl">
				<li>
					<a href="javascript:;" class="ctrlSelect" data-d="check">全選択</a>
					&nbsp;|&nbsp;
					<a href="javascript:;" class="ctrlSelect" data-d="uncheck">選択解除</a>
				</li>
				<li>選択件数:<b id="selectNum">0</b>件</li>
				<li>
					<select name="" id="">
						<option>配送完了処理</option>
					</select>
				</li>
				<li class="btn single c" style="position: relatve;top:-2px;left:-10px;"><a href="">実行</a></li>
			</ul>

			<table id="search_result" class="sortable">
				<thead>
					<tr>
						<th class="align-center">処理</th>
						<th class="align-center">注文日時<br />注文番号</th>
						<th>状態<br />経路</th>
						<th>購入者氏名</th>
						<th>配送先住所</th>
						<th>支払方法<br />発送方法</th>
						<th>合計金額<br />手数料</th>
						<th>更新</th>
						<th>配送完了</th>
					</tr>

				</thead>
				<tbody>
				
				
				<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['member'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['member']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
        $this->_foreach['member']['iteration']++;
?>
					<tr>
						<td><label><input type="checkbox" name="ctrl" value=""/></label></td>
						<td class="align-left">2012-09-29 20:41<br />123456-789</td>
						<td>確定<br />PC</td>
						<td>竹田 雅明</td>
						<td>東京都千代田区神田神保町1-3-5</td>
						<td>クレジットカード<br />郵便</td>
						<td class="align-right">10,500円<br />0円</td>
						<td class="update"><a href="order_refer.html">更新</a></td>
						<td class="preview"><a href="#">発送完了</a></td>
					</tr>
					
					<?php endforeach; endif; unset($_from); ?>	
					
					
				</tbody>
			</table>

			<p class="pageNav">
				<a href="" class="current">1</a>
				<a href="">2</a>
				<a href="">3</a>
			</p>

			<p class="btn_dl float-right">
				<a href="javascript:;" onclick="csv_download();">
					CSVダウンロード
				</a>
			</p>

        </section>
    </article>

</div>

<footer id="dashboard_footer">Copyright (C) SHIFT. / All rights reserved.</footer>
</body>
</html>